package com.lx.idea.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author ybb
 * @Description
 * @Date 2021/9/7 16:37
 */
@Data
@TableName("analysis_template_tb")
public class AnalysisTemplate extends Model<AnalysisTemplate>{
    private Long id;
    private String templateName;
    private String templateRegx;
    private int delFlag;
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", locale = "GMT+8")
    private LocalDateTime createDate;
}
